Write the new version of the persisted config to a tempfile and then rename it,
authorEwan Mellor <ewan@xensource.com>
Fri, 15 Dec 2006 17:19:00 +0000 (17:19 +0000)
committerEwan Mellor <ewan@xensource.com>
Fri, 15 Dec 2006 17:19:00 +0000 (17:19 +0000)
commitcd48fe7de04f4b661d8ef3dd81f9de3b37575ebb
treeadef90ec786f9856f7975dd507d6263ee1991f32
parent539d271eff540d736d83aa66659518b872bd96c5
Write the new version of the persisted config to a tempfile and then rename it,
to avoid corrupting the file on failure.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomain.py